<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-pragma">{-# LANGUAGE CPP #-}</span><span class="hs-cpp">

#if __GLASGOW_HASKELL__ &gt;= 709
</span><span class="hs-pragma">{-# LANGUAGE Safe #-}</span><span class="hs-cpp">
#elif __GLASGOW_HASKELL__ &gt;= 701
</span><span class="hs-pragma">{-# LANGUAGE Trustworthy #-}</span><span class="hs-cpp">
#endif
</span><span>
</span><span id="line-9"></span><span class="hs-comment">-----------------------------------------------------------------------------</span><span>
</span><span id="line-10"></span><span class="hs-comment">-- |</span><span>
</span><span id="line-11"></span><span class="hs-comment">-- Module      :  Control.Concurrent.STM</span><span>
</span><span id="line-12"></span><span class="hs-comment">-- Copyright   :  (c) The University of Glasgow 2004</span><span>
</span><span id="line-13"></span><span class="hs-comment">-- License     :  BSD-style (see the file libraries/base/LICENSE)</span><span>
</span><span id="line-14"></span><span class="hs-comment">--</span><span>
</span><span id="line-15"></span><span class="hs-comment">-- Maintainer  :  libraries@haskell.org</span><span>
</span><span id="line-16"></span><span class="hs-comment">-- Stability   :  experimental</span><span>
</span><span id="line-17"></span><span class="hs-comment">-- Portability :  non-portable (requires STM)</span><span>
</span><span id="line-18"></span><span class="hs-comment">--</span><span>
</span><span id="line-19"></span><span class="hs-comment">-- Software Transactional Memory: a modular composable concurrency</span><span>
</span><span id="line-20"></span><span class="hs-comment">-- abstraction.  See</span><span>
</span><span id="line-21"></span><span class="hs-comment">--</span><span>
</span><span id="line-22"></span><span class="hs-comment">--  * /Composable memory transactions/, by Tim Harris, Simon Marlow, Simon</span><span>
</span><span id="line-23"></span><span class="hs-comment">--    Peyton Jones, and Maurice Herlihy, in</span><span>
</span><span id="line-24"></span><span class="hs-comment">--    /ACM Conference on Principles and Practice of Parallel Programming/ 2005.</span><span>
</span><span id="line-25"></span><span class="hs-comment">--    &lt;https://www.microsoft.com/en-us/research/publication/composable-memory-transactions/&gt;</span><span>
</span><span id="line-26"></span><span class="hs-comment">--</span><span>
</span><span id="line-27"></span><span class="hs-comment">-----------------------------------------------------------------------------</span><span>
</span><span id="line-28"></span><span>
</span><span id="line-29"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Control.Concurrent.STM</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-30"></span><span>        </span><span class="hs-keyword">module</span><span> </span><span class="annot"><a href="Control.Monad.STM.html"><span class="hs-identifier">Control.Monad.STM</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-31"></span><span>        </span><span class="hs-keyword">module</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TVar.html"><span class="hs-identifier">Control.Concurrent.STM.TVar</span></a></span><span class="hs-special">,</span><span class="hs-cpp">
#ifdef __GLASGOW_HASKELL__
</span><span>        </span><span class="hs-keyword">module</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TMVar.html"><span class="hs-identifier">Control.Concurrent.STM.TMVar</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-34"></span><span>        </span><span class="hs-keyword">module</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TChan.html"><span class="hs-identifier">Control.Concurrent.STM.TChan</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-35"></span><span>        </span><span class="hs-keyword">module</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TQueue.html"><span class="hs-identifier">Control.Concurrent.STM.TQueue</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-36"></span><span>        </span><span class="hs-keyword">module</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TBQueue.html"><span class="hs-identifier">Control.Concurrent.STM.TBQueue</span></a></span><span class="hs-special">,</span><span class="hs-cpp">
#endif
</span><span>        </span><span class="hs-keyword">module</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TArray.html"><span class="hs-identifier">Control.Concurrent.STM.TArray</span></a></span><span>
</span><span id="line-39"></span><span>  </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-40"></span><span>
</span><span id="line-41"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Control.Monad.STM.html"><span class="hs-identifier">Control.Monad.STM</span></a></span><span>
</span><span id="line-42"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TVar.html"><span class="hs-identifier">Control.Concurrent.STM.TVar</span></a></span><span class="hs-cpp">
#ifdef __GLASGOW_HASKELL__
</span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TMVar.html"><span class="hs-identifier">Control.Concurrent.STM.TMVar</span></a></span><span>
</span><span id="line-45"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TChan.html"><span class="hs-identifier">Control.Concurrent.STM.TChan</span></a></span><span class="hs-cpp">
#endif
</span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TArray.html"><span class="hs-identifier">Control.Concurrent.STM.TArray</span></a></span><span>
</span><span id="line-48"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TQueue.html"><span class="hs-identifier">Control.Concurrent.STM.TQueue</span></a></span><span>
</span><span id="line-49"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Control.Concurrent.STM.TBQueue.html"><span class="hs-identifier">Control.Concurrent.STM.TBQueue</span></a></span><span>
</span><span id="line-50"></span></pre></body></html>